#include "GLCallbacks.h"

void resize(int width, int height)
{
	glViewport(0, 0, width, height);
	glMatrixMode(GL_PROJECTION);
	glLoadIdentity();
	gluPerspective(60.0f, (GLfloat) width / (GLfloat) height, 1.0f, 2000.0f);
	glMatrixMode(GL_MODELVIEW);
	glLoadIdentity();
	glEnable(GL_DEPTH_TEST);
	glDepthFunc(GL_LEQUAL);
	glEnable(GL_CULL_FACE);
}

void key(unsigned char key, int x, int y)
{
	switch (key)
	{
		case 'x':
			//				xrot += 0.2f;
		case 'y':
			//				yrot += 0.2f;
		case 'z':
			//				zrot += 0.2f;
		case 27:
			//   exit(0);
			break;
		default:
			break;
	}

	glutPostRedisplay();
}

void idle()
{
	glutPostRedisplay();
}
